/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yuhanginfo.modules.sys.entity;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.DataEntity;

/**
 * 退换货Entity
 * @author yinhao
 * @version 2017-12-06
 */
public class ReturnGoodsDetail extends DataEntity<ReturnGoodsDetail> {
	
	private static final long serialVersionUID = 1L;
	private String returnCode;		// return_code
	private String goodsCode;		// goods_code
	private String goodsName;		// goods_name
	private String num;		// num
	private String money;		// money
	
	public ReturnGoodsDetail() {
		super();
	}

	public ReturnGoodsDetail(String id){
		super(id);
	}

	@Length(min=0, max=50, message="return_code长度必须介于 0 和 50 之间")
	public String getReturnCode() {
		return returnCode;
	}

	public void setReturnCode(String returnCode) {
		this.returnCode = returnCode;
	}
	
	@Length(min=0, max=50, message="goods_code长度必须介于 0 和 50 之间")
	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}
	
	@Length(min=0, max=50, message="goods_name长度必须介于 0 和 50 之间")
	public String getGoodsName() {
		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}
	
	@Length(min=0, max=11, message="num长度必须介于 0 和 11 之间")
	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}
	
	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}
	
}